package com.inboyu.operation.domain;

import java.util.List;

public interface CustomerRepository {

    /**
     * 根据条件查询Customer
     * @param operationCompanyId
     * @param name
     * @param mobile
     * @return
     */
    List<Customer> findByCondition(String operationCompanyId, String name, String mobile);

    /**
     * 保存Customer
     * @param customer
     * @return
     */
    int save(Customer customer);
}
